﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200028D RID: 653
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueQueryCsReq : IMessage<ChessRogueQueryCsReq>, IMessage, IEquatable<ChessRogueQueryCsReq>, IDeepCloneable<ChessRogueQueryCsReq>, IBufferMessage
	{
		// Token: 0x17000880 RID: 2176
		// (get) Token: 0x06001D3F RID: 7487 RVA: 0x000533AB File Offset: 0x000515AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueQueryCsReq> Parser
		{
			get
			{
				return ChessRogueQueryCsReq._parser;
			}
		}

		// Token: 0x17000881 RID: 2177
		// (get) Token: 0x06001D40 RID: 7488 RVA: 0x000533B2 File Offset: 0x000515B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueQueryCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000882 RID: 2178
		// (get) Token: 0x06001D41 RID: 7489 RVA: 0x000533C4 File Offset: 0x000515C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueQueryCsReq.Descriptor;
			}
		}

		// Token: 0x06001D42 RID: 7490 RVA: 0x000533CB File Offset: 0x000515CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQueryCsReq()
		{
		}

		// Token: 0x06001D43 RID: 7491 RVA: 0x000533D3 File Offset: 0x000515D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQueryCsReq(ChessRogueQueryCsReq other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001D44 RID: 7492 RVA: 0x000533EC File Offset: 0x000515EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQueryCsReq Clone()
		{
			return new ChessRogueQueryCsReq(this);
		}

		// Token: 0x06001D45 RID: 7493 RVA: 0x000533F4 File Offset: 0x000515F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueQueryCsReq);
		}

		// Token: 0x06001D46 RID: 7494 RVA: 0x00053402 File Offset: 0x00051602
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueQueryCsReq other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x06001D47 RID: 7495 RVA: 0x00053420 File Offset: 0x00051620
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001D48 RID: 7496 RVA: 0x00053446 File Offset: 0x00051646
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001D49 RID: 7497 RVA: 0x0005344E File Offset: 0x0005164E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001D4A RID: 7498 RVA: 0x00053457 File Offset: 0x00051657
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001D4B RID: 7499 RVA: 0x00053470 File Offset: 0x00051670
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001D4C RID: 7500 RVA: 0x00053496 File Offset: 0x00051696
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueQueryCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001D4D RID: 7501 RVA: 0x000534B3 File Offset: 0x000516B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001D4E RID: 7502 RVA: 0x000534BC File Offset: 0x000516BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04000C0C RID: 3084
		private static readonly MessageParser<ChessRogueQueryCsReq> _parser = new MessageParser<ChessRogueQueryCsReq>(() => new ChessRogueQueryCsReq());

		// Token: 0x04000C0D RID: 3085
		private UnknownFieldSet _unknownFields;
	}
}
